package javabase.schoolwork.day6_6;

/**
 * @author fance
 * @date 18-6-6 下午4:22
 */
public enum Season {
    SPRING("春","困"),SUMMER("夏","热"),AUTUMN("秋","爽"),WONTER("冬","冷");
    private String season;
    private String mark;

    Season(String season, String mark) {
        this.season = season;
        this.mark = mark;
    }

    public String getSeason() {
        return season;
    }

    public void setSeason(String season) {
        this.season = season;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    @Override
    public String toString() {
        return "Season{" +
                "season='" + season + '\'' +
                ", mark='" + mark + '\'' +
                '}';
    }

    public static void main(String[] args) {
        for (Season season : Season.values()) {
            System.out.println(season);
        }
    }
}
